package com.ciwong.epaper.modules.scan.bean;

import java.io.Serializable;

/**
 * Created by res-zwyan on 2015/7/30.
 */
public class QRInfo implements Serializable
{

    /**
     * TODO field comment
     */
//    private static final long serialVersionUID = 4578340850132651845L;

    /**
     * 老接口使用的type 二维码类型
     */
    private String type;

    /**
     * 存储id 班级id 用户id ...
     */
    private String id;

    private Values values;

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public Values getValues()
    {
        return values;
    }

    public void setValues(Values values)
    {
        this.values = values;
    }

    /**
     * values数据
     */
    public static final class Values implements Serializable
    {
//        private static final long serialVersionUID = 4578340850132651843L;

        // /**
        // * 新接口中使用type 二维码类型
        // */
        // private int type;

        /**
         * 角色
         */
        private int role;

        private String id;

        /**
         * 加班code
         */
        private String code;

        // ///电子报///
        private String cId;

        private int moduleId;

        private String packageId;

        private String sonWorkType;

        private int workType;

        // ////电子报/////

        public int getRole()
        {
            return role;
        }

        public void setRole(int role)
        {
            this.role = role;
        }

        public String getCode()
        {
            return code;
        }

        public void setCode(String code)
        {
            this.code = code;
        }

        // public int getType()
        // {
        // return type;
        // }
        //
        // public void setType(int type)
        // {
        // this.type = type;
        // }

        public String getId()
        {
            return id;
        }

        public void setId(String id)
        {
            this.id = id;
        }

        public String getcId()
        {
            return cId;
        }

        public void setcId(String cId)
        {
            this.cId = cId;
        }

        public int getModuleId()
        {
            return moduleId;
        }

        public void setModuleId(int moduleId)
        {
            this.moduleId = moduleId;
        }

        public String getPackageId()
        {
            return packageId;
        }

        public void setPackageId(String packageId)
        {
            this.packageId = packageId;
        }

        public String getSonWorkType()
        {
            return sonWorkType;
        }

        public void setSonWorkType(String sonWorkType)
        {
            this.sonWorkType = sonWorkType;
        }

        public int getWorkType()
        {
            return workType;
        }

        public void setWorkType(int workType)
        {
            this.workType = workType;
        }
    }

}
